<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');
class News_item_read extends DataMapper {

    var $prefix = "home_";

    var $validation = array(
        'news_item_id' => array(
            'label' => 'News ID',
            'rules' => array('required', 'trim', 'numeric')
        ),
        'users_id' => array(
            'label' => 'Users ID who has read the news',
            'rules' => array('required', 'trim')
        )
    );

}